From: Paul Eggert Date: Tue, 26 Apr 2011 07:20:51 +0000 (-0700) Subject: * gnutls.c (emacs_gnutls_handle_error): Remove unused local. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~4024^2~8 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=7c1df639c0ba825086181e4bf0ed960d8c054eb0;p=emacs.git * gnutls.c (emacs_gnutls_handle_error): Remove unused local. --- diff --git a/src/ChangeLog b/src/ChangeLog index e40bffb2007..d89af61aee5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -5,6 +5,7 @@ proc->gnutls_initstage, if the check is needed. The check isn't needed for one caller, Fgnutls_boot. (emacs_gnutls_read): Do that check. This is the other caller. + (emacs_gnutls_handle_error): Remove unused local. lisp.h: Fix a problem with aliasing and vector headers. GCC 4.6.0 optimizes based on type-based alias analysis. For diff --git a/src/gnutls.c b/src/gnutls.c index e75d8e71757..30d7a0c531b 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -200,7 +200,7 @@ emacs_gnutls_handle_error (gnutls_session_t session, int err) Lisp_Object gnutls_log_level = Fsymbol_value (Qgnutls_log_level); int max_log_level = 0; - int alert, ret; + int ret; const char *str; /* TODO: use a Lisp_Object generated by gnutls_make_error? */